package com.bm.specialvehiclefordispatcher.bean;

import java.io.Serializable;

public class OrderLog implements Serializable {

	private static final long serialVersionUID = -6137870327205658749L;

	public long id;

	public Owner owner;

	public Truck truck;

	public OrderStatus status;
	
	public String addStatus;

	public String operateDate;

	/** 车主获得的赔偿金 **/
	public double damage;

	public String reason;

	public String ortherReason;
	
	public long changeOwnerId;
	
	public String icon;
	
	public String licensePlate;
	
	public String licensePlateNum;
	
	public long orderId;
	
	public String otherReason;
	
	public long ownerId;
	
	public String phone;
	
	public long reasonId;
	
	public int statusId;
	
	public String style1;
	
	public String styleName;
	
	public String driver;
	
	public long truckId;
	
	public int averageScore;

	public String getStatusMsg(long id) {
		int i = (int) id;
		String tmp = "";
		switch (i) {
		case 1:
			tmp = "司机还未开始";
			break;
		case 2:
			tmp = "司机还未开始";
			break;
		case 3:
			tmp = "司机改派中";
			break;
		case 4:
			tmp = "司机还未开始";
			break;
		case 5:
			tmp = "司机已取消";
			break;
		case 6:
			tmp = "司机工作中";
			break;
		case 7:
			tmp = "司机待签收";
			break;
		case 8:
			tmp = "司机待结算";
			break;
		case 9:
			tmp = "司机工作完成";
			break;
		case 10:
			tmp = "已评价";
			break;
		case 11:
			tmp = "司机已取消";
			break;
		case 12:
			tmp = "司机已取消";
			break;
		case 13:
			tmp = "订单已撤销";
			break;
		case 14:
			tmp = "订单已关闭";
			break;
		case 15:
			tmp = "司机未完成";
			break;
		case 16:
			tmp = "司机改派成功";
			break;
		}
		return tmp;
	}

}